namespace :bilibiliranking do
  desc "bilibili ranking example list"
  task :list => :environment do
    doc = BiliRankingMaker.create({:path => "#{BILI_PRO_PATH}#{ENV['pa']}\\"}) do |vvm|
=begin
      vvm.play_bgm('bilibili-mubox.wav') do
        vvm.pics "rest", [1], :length => 4
      end
      vvm.list1 [118]
=end
     #vvm.vvmtime.add_s 1
     #vvm.list3.logo
     #vvm.list1 4..10
     #vvm.list1 11..20
     vvm.list1 21..39
    end
    doc.write File.open("#{BILI_PRO_PATH}#{ENV['pa']}\\" + "xml.xml", 'w')
  end
end